Skip to content

fix(docs): convert fake-timers sidebar names to camelCase#2728

Merged
hexeberlin merged 1 commit into
mainfrom
fix/fake-timers-sidebar-casing
Jun 15, 2026
Merged

fix(docs): convert fake-timers sidebar names to camelCase#2728
hexeberlin merged 1 commit into
mainfrom
fix/fake-timers-sidebar-casing

Conversation

@hexeberlin

@hexeberlin hexeberlin commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Purpose (TL;DR) - mandatory

The sidebar generator was using name.replace(/-/g, " ") to convert kebab-case filenames to display text, producing lowercase spaced names like "run all" and "set system time". The predocs:build hook runs the generator before every production build, so production always showed the wrong casing while local dev (which skips the hook) showed the manually-committed camelCase names.

The sidebar generator was using name.replace(/-\/g, " ") to convert
kebab-case filenames to display text, producing lowercase spaced names
like "run all" and "set system time". The predocs:build hook runs the
generator before every production build, so production always showed
the wrong casing while local dev (which skips the hook) showed the
manually-committed camelCase names.
@codecov

codecov Bot commented Jun 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.40%. Comparing base (c1b92bf) to head (2daae94).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2728   +/-   ##
=======================================
  Coverage   97.40%   97.40%           
=======================================
  Files          39       39           
  Lines        1810     1810           
=======================================
  Hits         1763     1763           
  Misses         47       47           
Flag Coverage Δ
unit 97.40% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hexeberlin hexeberlin merged commit 419cce5 into main Jun 15, 2026
20 of 21 checks passed
@hexeberlin hexeberlin deleted the fix/fake-timers-sidebar-casing branch June 15, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant